<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册页</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/login.css">
</head>
<body>
<div class="nav">
    <img src="img/login.jpg" alt="用户头像">
    <span class="title">我的博客系统</span>
    <!-- 此处的spacer只是用来占位，把后面的东西撑到右边去 -->
    <div class="spacer"></div>
    <a href="blog_list.html">主页</a>
    <a href="blog_edit.html">博客编辑页</a>
</div>

<!-- 用这个元素作为页面的版心，把对话框放在这中间 -->
<div class="login-container">
    <form action="register" method="post">
        <!-- 放在中间的登录表 -->
        <div class="dialog">
            <h3>注册</h3>
            <div class="row">
                <span class="rowLeft">用户名</span>
                <input type="text" id="username" name="username">
            </div>
            <div class="row">
                <span class="rowLeft">密码</span>
                <input type="text" id="password" name="password">
            </div>
            <div class="row" >
                <input id="register-btn" value="注册" type="submit">
            </div>


        </div>


    </form>


</div>

</body>
</html>